package com.csun.cmny.provider.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-11-13 10:30
 * @Description:
 */
@Slf4j
@Component
public class DmcRpcService {

    @Resource
    private DmcSleepCareDataFeignApi dmcSleepCareDataFeignApi;

    public void calcSleepDate() {

        dmcSleepCareDataFeignApi.calcSleepDate();
    }

    public void refreshRedisKey(String time) {

        dmcSleepCareDataFeignApi.refreshRedisKey(time);
    }
}
